package com.example.models.data;

/**
 * 董建业  时间:2017/4/9.
 * 响应数据基类
 */

public class ResponseData <T>{

    public int ret;

    public T data;

    public String msg;

    public boolean isResposeSuccess(){
        return ret == 0;
    }

    @Override
    public String toString() {
        return "ResponseData{" +
                "ret=" + ret +
                ", data=" + data +
                ", msg='" + msg + '\'' +
                '}';
    }
}
